<template>
  <div id="app">
      <PageHeader :title="$store.getters.pageTitle" :routeName="$store.getters.parentRoute"></PageHeader>
      <div class="content"><router-view></router-view></div>
      <PageFooter></PageFooter>
  </div>
</template>

<script>
  import PageHeader from './components/PageHeader.vue'
  import PageFooter from './components/PageFooter.vue'

  export default {
    name: 'App',
    components: {
      PageHeader,
      PageFooter
    },
    data() {  
      return {  
        title: '学生一站式服务大厅123',  
        routeName: '#'  
      }  
    }  
  }
</script>

<style>
  #app {
    font-family: Avenir, Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-align: center;
    color: #2c3e50;
  }

  nav {
    padding: 30px;
  }

  nav a {
    font-weight: bold;
    color: #2c3e50;
  }

  nav a.router-link-exact-active {
    color: #42b983;
  }
  .content{
    height: 89vh;
  }
</style>
